<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 使用弹性盒子实现W3C的导航条样式 */
        *{
            margin: 0;
            padding: 0;
        }
        ul{
            width: 1210px;
            height: 48px;
            background-color: #E8E7E3;
            color: #7C7C7C;
            list-style: none;
            display: flex;
        }
        ul >li{
            height: 48px;
            line-height: 48px;
            flex-grow: 1;
            text-align: center;
        }
        ul > li:hover{
            background-color: #3F3F3F;
            color: white;
        }
    </style>
</head>
<body>
    <nav>
        <ul>
            <li>HTML/CSS</li>
            <li>Browser Side</li>
            <li>Server Side</li>
            <li>Programmering</li>
            <li>XML</li>
            <li>Web Building</li>
            <li>Reference</li>
        </ul>
    </nav>
</body>
</html>